Qus : 3 NIMCET PYQ 1
The maximum and minimum value represented in signed 16-bit 2s compliment representation are
1
-32768 and 32767
2
0 and 32767
3
0 and 65535
4
-16384 and 16383
Go to Discussion NIMCET Previous Year PYQ NIMCET NIMCET 2023 PYQ Solution
Maximum & Minimum in 16-bit 2's Complement
Total Bits: 16
Format: 1 sign bit + 15 magnitude bits
Maximum (positive):
0111 1111 1111 1111(2)
=
+32,767
Minimum (negative):
1000 0000 0000 0000(2)
=
−32,768
✅ Final Answer:
Minimum = −32,768
Maximum = +32,767
Qus : 6 NIMCET PYQ 1 Consider
the following 4- bit binary numbers represented in the 2’s complement form :
1101 and 0100 What would be the result when we add them?
1 0001
and no overflow 2 1001
and an overflow 3 0001
and an overflow 4 1001
and no overflow Go to Discussion NIMCET Previous Year PYQ NIMCET NIMCET 2024 PYQ Solution
2's Complement Addition (4-bit)
Given: 1101 and 0100 (in 2’s complement)
Step-by-step:
1101 = −3 (in decimal)
0100 = +4 (in decimal)
Sum = −3 + 4 = +1
+1 in 4-bit 2’s complement = 0001
✅ Final Answer: 0001
Qus : 7 NIMCET PYQ 3 Given
that numbers A and B are two 8 bit 2’s complement numbers with A = 11111111,
B = 11111111. Then sum A + B is _________
1 00000010
2 11111100 3 11111110
4 00000000 Go to Discussion NIMCET Previous Year PYQ NIMCET NIMCET 2024 PYQ Solution
2's Complement Addition (8-bit)
Given:
A = 11111111 → (−1)
B = 11111111 → (−1)
Sum: −1 + (−1) = −2
Convert −2 to 8-bit 2's complement:
+2 = 00000010
Invert = 11111101
Add 1 = 11111110
✅ Final Answer: 11111110
Qus : 8 NIMCET PYQ 2 Let
the given number 11001, 1001 and 111001 be correspond to the 2’s complement representation.
Then with which one of the following decimal number, the given numbers match
1 -6,
-6 and -6, respectively 2 -7,
-7 and -7 respectively 3 -25,
-9 and -57 respectively 4 25,
9 and 57, respectively Go to Discussion NIMCET Previous Year PYQ NIMCET NIMCET 2024 PYQ Solution
Binary to Decimal: 2's Complement Conversion
Given binary numbers:
11001 (5-bit)
1001 (4-bit)
111001 (6-bit)
Step-by-step (2's complement):
Each starts with 1 → negative number
Convert by inverting and adding 1
All result in binary 0111 → decimal 7
So final value = −7
✅ Final Answer: Each binary number corresponds to the decimal number −7 .
Qus : 9 NIMCET PYQ 4 The maximum and minimum value represented in signed
16 bit 2's complement representations are
1 -16384 and 16383 2 0 and 32767 3 0 and 65535 4 -32768 and 32767 Go to Discussion NIMCET Previous Year PYQ NIMCET NIMCET 2022 PYQ Solution Range of 2's complement $-2^{n-1}$ to $2^{n-1}+1$
Range for 16 bits = $-2^{16-1}$ to $2^{16-1}+1$
Range for 16 bits = $-2^{15}$ to $2^{25}+1$
Range for 16 bits = $-32768$ to $32767$
[{"qus_id":"4198","year":"2019"},{"qus_id":"4194","year":"2019"},{"qus_id":"4380","year":"2017"},{"qus_id":"4383","year":"2017"},{"qus_id":"11199","year":"2022"},{"qus_id":"11591","year":"2023"},{"qus_id":"4583","year":"2016"},{"qus_id":"4589","year":"2016"},{"qus_id":"4592","year":"2016"},{"qus_id":"11918","year":"2024"},{"qus_id":"11928","year":"2024"},{"qus_id":"11920","year":"2024"}]